<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
@include("layouts.common.head")
<!-- Fonts -->
    <link href="{{asset('static/css/personal/common.css')}}" rel="stylesheet" type="text/css">
    <link href="{{ asset('static/css/personal/personal_index.css') }}" rel="stylesheet">
    <link href="{{asset('static/css/personal/personal_ajax_dialog.css')}}" rel="stylesheet" type="text/css">

    <!-- Styles -->
    <style>
        html {
            overflow-y: scroll;
        }
    </style>
</head>
<body>
<div id="app">
    @include("layouts.nav")
    @include("home.other_top_nav")
    <div class="us-top">
        <div class="us-main">
            <div class="us-top-box">
                <form id="ajax_search_location" action="" method="get">
                    <div class="input-box"><input type="text" name="key" data-original="请输入关键字" value=""
                                                  placeholder="请输入关键字" autocomplete="off"></div>
                    <div class="se-btn"><input type="submit" value="搜 索"></div>
                    <div class="clear"></div>
                </form>
            </div>
        </div>
    </div>
    <div class="user_main">
        @include('member.layouts.index_left_nav')

        <div class="index-right">
            <div class="ph-28"></div>
            <div class="res_name_group">
                <div class="rg1 link_gray6"><a target="_blank" href="">我的简历</a></div>

                <div class="clear"></div>
            </div>
            <div class="ph-30"></div>
            <div class="res_app_gropu">
                <div class="res_app_cell">
                    <div class="ph-12"></div>
                    <div class="res_cell_line">完整度
                        @if($press > 75)
                            <span class="green-txt"> (优)</span>
                        @elseif($press < 60)
                            <span class="red-txt"> (差)</span>
                        @else
                            <span class="yellow-txt"> (良)</span>
                        @endif
                    </div>
                    <div class="ph-14"></div>
                    <div class="res_cell_line"><span class="green-txt">{{$press}}%</span></div>
                </div>
                <div class="hm_64_42"></div>
                <div class="res_app_cell">
                    <div class="ph-12"></div>
                    <div class="res_cell_line">刷新时间</div>
                    <div class="ph-14"></div>
                    <div class="res_cell_line">{{date("Y-m-d",$resume->refresh_time)}}</div>
                </div>
                <div class="hm_64_42"></div>
                <div class="res_app_cell" onclick="window.location=''">
                    <div class="ph-12"></div>
                    <div class="res_cell_line">注册时间</div>
                    <div class="ph-14"></div>
                    <div class="res_cell_line">{{date("Y-m-d",$resume->create_time)}}</div>
                </div>
                <div class="hm_64_42"></div>
                <div class="res_app_cell" onclick="window.location='{{url("member/apply")}}'">
                    <div class="ph-12"></div>
                    <div class="res_cell_line">已申请职位<span class="yellow-txt"> (30日)</span></div>
                    <div class="ph-14"></div>
                    <div class="res_cell_line">{{$day}}</div>
                </div>
                <div class="hm_64_42"></div>
                <div class="res_app_cell"
                     onclick="window.location='{{url("member/interview")}}'">
                    <div class="ph-12"></div>
                    <div class="res_cell_line">邀请面试</div>
                    <div class="ph-14"></div>
                    <div class="res_cell_line">{{$apply}}</div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="ph-30"></div>
            <div class="re_l">
                <!--基本信息 -->
                <input type="hidden" name="pid" id="pid" value="{$resume_info.id}">
                <div id="positionInfo" class="J_itemsbox">
                    <div class="items J_hoverbut">
                        <div class="il">基本资料</div>
                        <div class="ir">
                            <div class="but_gray_70_res_edit J_hoverbut J_showitems">修改</div>
                        </div>
                        <div class="clear"></div>
                        <div class="photobox">
                            <div class="pright">
                                <div class="sex_age">
                                    <div class="td1">姓名：<span data-sub="name">{{$resume->nickname}}</span></div>
                                    <div class="td1">性别：<span data-sub="sex">@if($resume->sex == 1)
                                                男@elseif($resume->sex == 2)女@endif</span>
                                    </div>
                                    <div class="td1">年龄：<span
                                                data-sub="birth">{{$resume->birth?date("Y")-$resume->birth:''}}</span>
                                    </div>
                                    <div class="td1">学历：
                                        <span data-sub="education">{{$resume->education_cn}}</span>
                                    </div>
                                    <div class="td1">工作经验：
                                        <span data-sub="experience">{{$resume->experience_cn}}</span>
                                    </div>


                                    <div class="td1 substring">现居地：
                                        <span data-sub="house">{{$resume->house}}</span>
                                    </div>
                                    <div class="td1 substring">手机号：
                                        <span data-sub="mobile">{{$resume->telephone}}</span>
                                    </div>
                                    <div class="clear"></div>
                                </div>
                            </div>

                            <div class="clear"></div>
                        </div>
                    </div>
                    <div class="itemsform J_itemsmenu">
                        <div class="ftit">基本资料
                            <div class="close J_hoverbut J_closeitems"></div>
                        </div>
                        <div class="fbody">
                            <table class="b_table" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td class="w1"><span>&nbsp;</span>姓名：</td>
                                    <td>
                                        <input name="name" id="name" type="text" class="input_205_34"
                                               value="{{$resume->nickname}}">
                                    </td>
                                    <td class="w1"><span>&nbsp;</span>性别：</td>
                                    <td>
                                        <div class="sex_radio_list J_radioitme_parent">
                                            <div class="n  for_sex J_radioitme @if($resume->sex == 1)checked
                                                       @endif" data-code="1">男
                                            </div>
                                            <div class="w  for_sex J_radioitme @if($resume->sex == 2)checked
                                                    @endif" data-code="2">女
                                            </div>
                                            <div class="clear"></div>
                                            <input class="J_radioitme_code" name="sex" id="sex" type="hidden"
                                                   value="{{$resume->sex}}"/>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="w1"><span>&nbsp;</span>出生年份：</td>
                                    <td>
                                        <div class="input_205_34_div J_hoverinput J_dropdown J_listitme_parent">
                                            <span class="J_listitme_text">{{$resume->birth?$resume->birth:'请选择'}}</span>
                                            <div class="dropdowbox9 J_dropdown_menu">
                                                <div class="dropdow_inner9">
                                                    <ul class="nav_box J_birthdy">
                                                        <div class="J_birthday_box active"></div>
                                                        <div class="J_birthday_box"></div>
                                                        <div class="J_birthday_box"></div>
                                                    </ul>
                                                    <a href="javascript:;" class="prev J_birthday_prev"></a>
                                                    <a href="javascript:;" class="next J_birthday_next"></a>
                                                </div>
                                            </div>
                                            <input class="J_listitme_code" name="birth" id="birth" type="hidden"
                                                   value="{{$resume->birth}}">
                                        </div>
                                    </td>
                                    <td class="w1">现居住地：</td>
                                    <td><input name="house" id="house" type="text" class="input_205_34"
                                               value="{{$resume->house}}"/></td>
                                </tr>
                                <tr>
                                    <td class="w1"><span>&nbsp;</span>最高学历：</td>
                                    <td>
                                        <div class="input_205_34_div J_hoverinput J_dropdown J_listitme_parent">
                                            <span class="J_listitme_text for_education">{{$resume->education?$resume->education_cn:"请选择"}}</span>
                                            <div class="dropdowbox10 J_dropdown_menu">
                                                <div class="dropdow_inner10">
                                                    <ul class="nav_box">
                                                        @foreach($category['_education'] as $key=> $item)
                                                            <li>
                                                                <a class="J_listitme" href="javascript:;"
                                                                   data-code="{{$key}}">{{$item}}</a>
                                                            </li>
                                                        @endforeach
                                                    </ul>
                                                </div>
                                            </div>
                                            <input class="J_listitme_code" name="education" id="education" type="hidden"
                                                   value="{{$resume->education}}"/>
                                        </div>
                                    </td>
                                    <td class="w1"><span>&nbsp;</span>工作经验：</td>
                                    <td>
                                        <div class="input_205_34_div J_hoverinput J_dropdown J_listitme_parent">
                                            <span class="J_listitme_text for_experience">{{$resume->experience?$resume->experience_cn:"请选择"}}</span>
                                            <div class="dropdowbox10 J_dropdown_menu">
                                                <div class="dropdow_inner10">
                                                    <ul class="nav_box">
                                                        @foreach($category['_experience'] as $key=> $item)
                                                            <li>
                                                                <a class="J_listitme" href="javascript:;"
                                                                   data-code="{{$key}}">{{$item}}</a>
                                                            </li>
                                                        @endforeach
                                                    </ul>
                                                </div>
                                            </div>
                                            <input class="J_listitme_code" name="experience" id="experience"
                                                   type="hidden"
                                                   value="{{$member->experience}}"/>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                            <div class="butbox">
                                <div class="td1"><input type="button"
                                                        class="but_blue_115 J_hoverbut J_saveitems_baseinfo"
                                                        value="保存"/>
                                </div>
                                <div class="td1"><input type="reset" class="but_gray_115 J_hoverbut J_closeitems"
                                                        value="取消"/></div>
                                <div class="clear"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--求职意向 -->
                <div id="positionJobintention" class="J_itemsbox">
                    <div class="items J_hoverbut">
                        <div class="il">求职意向</div>
                        <div class="ir">
                            <div class="but_gray_70_res_edit J_hoverbut J_showitems">修改</div>
                        </div>
                        <div class="clear"></div>
                        <table border="0" align="center" cellpadding="0" cellspacing="0" class="b_table">
                            <tr>
                                <td width="50%">
                                    <div class="overhide">求职状态：</div>
                                    <span class="overhide" data-sub="current" title="">{{$resume->current_cn}}</span>
                                </td>
                                <td>
                                    <div class="overhide">工作地区：</div>
                                    <span class="overhide" data-sub="district" title="">{{$resume->district_cn}}</span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="overhide">期望行业：</div>
                                    <span class="overhide" data-sub="trade" title="">{{$resume->trade_cn}}</span>
                                </td>
                                <td>
                                    <div class="overhide">期望职位：</div>
                                    <span class="overhide" data-sub="intention_jobs"
                                          title="">{{$resume->intention_cn}}</span>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <div class="overhide">期望薪资：</div>
                                    <span class="overhide" data-sub="wage" title="">{{$resume->wage_cn}}</span>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="itemsform J_itemsmenu">
                        <div class="ftit">求职意向
                            <div class="close J_hoverbut J_closeitems"></div>
                        </div>
                        <div class="fbody">
                            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"
                                   class="b_table">
                                <tr>
                                    <td class="w1"><span>&nbsp;</span>目前状态：</td>
                                    <td>
                                        <div class="input_205_34_div J_hoverinput J_dropdown J_listitme_parent">
                                            <span class="result J_listitme_text for_current">{{$resume->current_cn}}</span>
                                            <div class="dropdowbox10 J_dropdown_menu">
                                                <div class="dropdow_inner10">
                                                    <ul class="nav_box">
                                                        @foreach($category['_current'] as $key=> $item)
                                                            <li>
                                                                <a class="J_listitme" href="javascript:;"
                                                                   data-code="{{$key}}"
                                                                   title="">{{$item}}</a>
                                                            </li>
                                                        @endforeach

                                                    </ul>
                                                </div>
                                            </div>
                                            <input class="J_listitme_code" name="current" id="current" type="hidden"
                                                   value="{{$resume->current}}">
                                        </div>
                                    </td>
                                    <td class="w1"><span>&nbsp;</span>工作地区：</td>
                                    <td>
                                        <div class="input_205_34_div J_hoverinput J_dropdown J_listitme_parent">
                                            <span class="result J_listitme_text for_district">{{$resume->district_cn}}</span>
                                            <div class="dropdowbox10 J_dropdown_menu">
                                                <div class="dropdow_inner10">
                                                    <ul class="nav_box">
                                                        @foreach($districts as $district)
                                                            <li>
                                                                <a class="J_listitme" href="javascript:;"
                                                                   data-code="{{$district->id}}"
                                                                   title="{{$district->name}}">{{$district->name}}</a>
                                                            </li>
                                                        @endforeach

                                                    </ul>
                                                </div>
                                            </div>
                                            <input class="J_listitme_code" name="district" id="district" type="hidden"
                                                   value="{{$resume->district}}">
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="w1">期望行业：</td>
                                    <td>
                                        <div class="input_205_34_div1 J_hoverinput" id="J_showmodal_trade"
                                             data-title="请选择期望行业"
                                             data-multiple="true" data-maxnum="3" data-width="682">
                    <span title=""
                          class="for_trade result J_resuletitle_trade">{{$resume->trade_cn}}</span>
                                            <input class="J_resultcode_trade" name="trade" id="trade" type="hidden"
                                                   value="{{$resume->trade}}"/>
                                            <div class="clear"></div>
                                        </div>
                                    </td>
                                    <td class="w1"><span>&nbsp;</span>期望职位：</td>
                                    <td>
                                        <div class="input_205_34_div1 J_hoverinput" id="J_showmodal_jobs"
                                             data-title="请选择期望职位"
                                             data-multiple="true" data-maxnum="5" data-width="520"
                                             data-category="">
                                            <span title=""
                                                  class="for_intention_jobs result J_resuletitle_jobs">{{$resume->intention_cn}}</span>
                                            <input class="J_resultcode_jobs" name="intention_jobs_id"
                                                   id="intention_jobs_id"
                                                   type="hidden"
                                                   value="{{$resume->intention}}"/>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="w1"><span>&nbsp;</span>期望薪资：</td>
                                    <td>
                                        <div class="input_205_34_div J_hoverinput J_dropdown J_listitme_parent">
                                            <span class="J_listitme_text for_wage">{{$resume->wage_cn}}</span>
                                            <div class="dropdowbox10 J_dropdown_menu">
                                                <div class="dropdow_inner10">
                                                    <ul class="nav_box">
                                                        @foreach($category['_wage'] as $key=> $item)
                                                            <li>
                                                                <a class="J_listitme" href="javascript:;"
                                                                   data-code="{{$key}}"
                                                                   title="">{{$item}}</a>
                                                            </li>
                                                        @endforeach
                                                    </ul>
                                                </div>
                                            </div>
                                            <input class="J_listitme_code" name="wage" id="wage" type="hidden"
                                                   value="{{$resume->wage}}">
                                        </div>
                                    </td>
                                </tr>
                            </table>
                            <div class="butbox">
                                <div class="td1"><input type="submit"
                                                        class="but_blue_115 J_hoverbut J_saveitems_intention"
                                                        value="保存"/>
                                </div>
                                <div class="td1"><input type="reset" class="but_gray_115 J_hoverbut J_closeitems"
                                                        value="取消"/>
                                </div>
                                <div class="clear"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--自我描述 -->
                <div id="positionSpecialty" class="J_itemsbox">
                    <div class="items J_hoverbut">
                        <div class="il">自我描述</div>
                        <div class="ir">
                            <div class="but_gray_70_res_edit J_hoverbut J_showitems">修改</div>
                        </div>
                        <div class="clear"></div>
                        @if(empty($resume->specialty))
                            <div class="empty font_gray9 specialty_box">自我描述是你客观认识自己的基石，快来填写吧！</div>
                        @else
                            <div class="describe font_gray6 specialty_box">{{$resume->specialty}}</div>
                        @endif
                    </div>
                    <div class="itemsform J_itemsmenu" data-waitsome="specialty">
                        <div class="ftit">自我描述
                            <div class="close J_hoverbut J_closeitems"></div>
                        </div>
                        <div class="fbody J_focus">
                            <table class="b_table" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td colspan="2">
                                        <div class="toptip">客观全面的自我评价更容易获得企业的好感，快来完善以获得HR的亲睐！</div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="w1">自我描述：</td>
                                    <td><textarea name="specialty" id="specialty"
                                                  class="textarea_638_80">{{$resume->specialty}}</textarea></td>
                                </tr>
                            </table>
                            <div class="butbox">
                                <div class="td1"><input type="submit"
                                                        class="but_blue_115 J_hoverbut J_saveitems_specialty"
                                                        value="保存"/>
                                </div>
                                <div class="td1"><input type="reset" class="but_gray_115 J_hoverbut J_closeitems"
                                                        value="取消"/>
                                </div>
                                <div class="clear"></div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--自我描述结束 -->
                {{--@include('member.home.more')--}}
            </div>
        </div>
    </div>
</div>
<!--word简历结束 -->


<div class="clear"></div>
@include('layouts.common.foot')
<script type="text/javascript" src="{{asset('static/js/jquery.disappear.tooltip.js')}}"></script>
<script type="text/javascript" src="{{asset('static/js/jquery.dropdown.js')}}"></script>
<script type="text/javascript" src="{{asset('static/js/jquery.listitem.js')}}"></script>
<script type="text/javascript" src="{{asset('static/js/jquery.modal.userselectlayer.js')}}"></script>

<script>
    let QS_trade = ["1,消防", "2,安监"];
    let _trade = '<?php echo $trade ?>';
    let QS_jobtag = ["145,环境好", "146,年终奖", "147,双休", "148,五险一金", "149,加班费", "150,朝九晚五", "151,交通方便", "152,加班补助", "153,包食宿", "154,管理规范", "155,有提成", "156,全勤奖", "157,有年假", "158,专车接送", "159,有补助", "160,晋升快", "161,车贴", "162,房贴", "164,技术培训", "165,旅游"]
    //切换
    $('.J_showitems').live('click', function (e) {
        $('.J_itemsmenu').hide();
        $('.items').show();
        let $parentDom = $(this).closest('.J_itemsbox');
        $(this).closest('.items').hide();
        $parentDom.find('.J_itemsmenu').show();
    });
    // 取消通用
    $('.J_closeitems').live('click', function (e) {
        let $parentDom = $(this).closest('.J_itemsbox');
        $(this).closest('.J_itemsmenu').hide();
        $parentDom.find('.items').show();
    });
    // 保存基本信息
    $('.J_saveitems_baseinfo').live('click', function (e) {
        // 提交之前先验证
        let name = $.trim($('#name').val());
        let sex = $.trim($('#sex').val());
        let birth = $.trim($('#birth').val());
        let house = $.trim($('#house').val());
        let education = $.trim($('#education').val());
        let experience = $.trim($('#experience').val());
        let telephone = $.trim($('#telephone').val());
        if (name === "") {
            disapperTooltip("remind", "请填写姓名");
            return false;
        }
        if (sex === "") {
            disapperTooltip("remind", "请选择性别");
            return false;
        }
        if (birth === "") {
            disapperTooltip("remind", "请选择出生年份");
            return false;
        }
        if (house !== "" && house.length > 20) {
            disapperTooltip("remind", "现居住地应在1~20个字内");
            return false;
        }
        if (education === "") {
            disapperTooltip("remind", "请选择学历");
            return false;
        }
        if (experience === "") {
            disapperTooltip("remind", "请选择工作经验");
            return false;
        }

        $('.J_saveitems_baseinfo').val('保存中...').addClass('btn_disabled').prop('disabled', !0);
        // 提交表单
        $.ajax({
            url: "{{url('member/ajax_save_basic_info')}}",
            type: 'POST',
            dataType: 'json',
            data: {
                name: name,
                sex: sex,
                birth: birth,
                house: house,
                education: education,
                experience: experience,
                telephone: telephone,
            }
        }).done(function (res) {
            if (res.status === 1) {
                // 如果操作成功就同步修改的值
                let sex_val = $('#sex').val();
                let sub_sex = '';
                if (sex_val == 1) {
                    sub_sex = '男'
                } else if (sex_val == 2) {
                    sub_sex = '女'
                }
                $('#sex').val() == 1 ? '男' : '女';
                $('[data-sub="name"]').text($('#name').val());
                $('[data-sub="sex"]').text(sub_sex);

                // 计算年龄
                let cYear = parseInt($('#birth').val());
                let nowDate = new Date();
                let nowYear = nowDate.getFullYear();
                let ageNum = parseInt(nowYear - cYear);
                $('[data-sub="birth"]').text(ageNum);
                $('[data-sub="education"]').text($('.for_education').text());
                $('[data-sub="experience"]').text($('.for_experience').text());
                //籍贯
                $('[data-sub="house"]').text($('#house').val());
                $('.J_saveitems_baseinfo').val('保存').removeClass('btn_disabled').prop('disabled', 0);
                // 关闭操作框
                let $parentDom = $('.J_saveitems_baseinfo').closest('.J_itemsbox');
                $('.J_saveitems_baseinfo').closest('.J_itemsmenu').hide();
                $parentDom.find('.items').show();
            } else {
                $('.J_saveitems_baseinfo').val('保存').removeClass('btn_disabled').prop('disabled', 0);
                disapperTooltip("remind", "更新失败请重新提交");
            }
        }).fail(function () {
            $('.J_saveitems_baseinfo').val('保存').removeClass('btn_disabled').prop('disabled', 0);
            disapperTooltip("remind", "更新失败请重新提交");
        });
    });
    // 保存求职意向
    $('.J_saveitems_intention').live('click', function (e) {
        // 提交之前先验证
        let resume_id = 0;
        let current = $.trim($('#current').val());
        let district = $.trim($('#district').val());
        let trade = $.trim($('#trade').val());
        let intention = $.trim($('#intention_jobs_id').val());
        let wage = $.trim($('#wage').val());
        if (current == "") {
            disapperTooltip("remind", "请选择目前状态");
            return false;
        }

        if (district == "") {
            disapperTooltip("remind", "请选择工作地区");
            return false;
        }
        if (trade == "") {
            disapperTooltip("remind", "请选择期望行业");
            return false;
        }

        if (intention == "") {
            disapperTooltip("remind", "请选择期望职位");
            return false;
        }
        if (wage == "") {
            disapperTooltip("remind", "请选择期望薪资");
            return false;
        }

        // 提交表单
        $.ajax({
            url: "{{url('member/ajax_save_intention')}}",
            type: 'POST',
            dataType: 'json',
            data: {
                resume_id: resume_id,
                current: current,
                district: district,
                trade: trade,
                intention: intention,
                wage: wage
            }
        })
            .done(function (data) {
                if (parseInt(data.status)) {
                    // 如果操作成功就同步修改的值
                    $('[data-sub="current"]').text($('.for_current').text());
                    $('[data-sub="nature"]').text($('.for_nature.checked').text());
                    $('[data-sub="trade"]').text($('.for_trade').text());
                    $('[data-sub="district"]').text($('.for_district').text());
                    $('[data-sub="wage"]').text($('.for_wage').text());

                    // 关闭操作框
                    let $parentDom = $('.J_saveitems_intention').closest('.J_itemsbox');
                    $('.J_saveitems_intention').closest('.J_itemsmenu').hide();
                    $parentDom.find('.items').show();
                    if (data.data != '') {
                        disapperTooltip("remind", data.msg);
                    } else {
                        $('[data-sub="intention_jobs"]').text($('.for_intention_jobs').text());
                    }
                } else {
                    disapperTooltip("remind", data.msg);
                }
            })
            .fail(function () {
                disapperTooltip("remind", "更新失败请重新提交");
            });
    });
    // 添加自我描述 保存
    $('.J_saveitems_specialty').live('click', function (e) {
        // 提交之前先验证
        let specialtyValue = $.trim($('#specialty').val());
        if (specialtyValue == "") {
            disapperTooltip("remind", "请填写自我描述");
            return false;
        }

        // 提交表单
        $.ajax({
            url: "{{url('/member/ajax_save_specialty')}}",
            type: 'POST',
            dataType: 'json',
            data: {specialty: specialtyValue}
        }).done(function (data) {
            if (parseInt(data.status)) {
                let htmlVal = $('#specialty').val();
                $('.specialty_box').removeClass('empty font_gray9').addClass('describe font_gray6').text(htmlVal);
                // 关闭操作框
                let $parentDom = $('.J_saveitems_specialty').closest('.J_itemsbox');
                $('.J_saveitems_specialty').closest('.J_itemsmenu').hide();
                $parentDom.find('.items').show();
                check_complete_percent_allowance();
            } else {
                disapperTooltip("remind", data.msg);
            }
        })
            .fail(function () {
                disapperTooltip("remind", "更新失败请重新提交");
            });
    });
</script>
<div>

</div>
</body>
</html>
